package com.example.demo.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@TableName(value ="user")
@Data
public class User implements Serializable {
    @TableId(type = IdType.AUTO)//自增主键
    private int Id;

    private String userAccount;

    private String userPassword;

    private String userAvatar;

    private String userRole;

    private Date createTime;

    private Date updateTime;

    private String email;

}
